<!--
 * @author: Archy
 * @Date: 2022-03-16 14:02:37
 * @LastEditors: Archy
 * @LastEditTime: 2022-03-18 15:27:31
 * @FilePath: \arkgen\server\store\components\button\button.vue
 * @description: 
-->
<template>
  <button @click="onclick" class="button">{{ count }}</button>
</template>
<script>
import { defineComponent, ref } from 'vue';
export default defineComponent({
  name: 'button'
});
</script>
<script setup>
const count = ref(0)
const onclick = () => {
  count.value++
}
</script>
<style lang='less' scoped>
  .button{
    background-color: aquamarine;
  }
</style>